package org.teremail.mailbox.search;

/**
 * Allows for independent search implementations to access the hierachy of a
 * search term.
 * 
 * @author Michael Barker
 *
 */
public interface SearchTermVisitor {

    void visitBody(String key);

    void visitHeader(String name, String value);
}
